import Vue from 'vue'
import Router from 'vue-router'
import Index from'@/views/home/Index'
import Book from'@/views/home/Book'
import Game from'@/views/home/Game'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/book',
      name: 'Book',
      component: Book
    },
    {
      path: '/game',
      name: 'Game',
      component: Game
    },
  ]
})
